package com.panfeng.xcloud.boss.provider.assets.dto.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "查询相关资产流水响应")
public class QueryWalletAssetsFlowPageRespDTO implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("系统内流水号")
    private String flowOrderId;

    @ApiModelProperty("交易所内订单id")
    private String exchangeOrderId;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("转账源地址(若无则不填)")
    private String fromAddress;

    @ApiModelProperty("转账目的用户id(若无则不填)")
    private String toUserId;

    @ApiModelProperty("转账目的地址(若无则不填)")
    private String toAddress;

    @ApiModelProperty("交易所类型(0.okex 1.huobi 2.binance)")
    private Integer exchangeType;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("币种名称")
    private String coin;

    @ApiModelProperty("金额")
    private BigDecimal amount;

    @ApiModelProperty("流水类型(0:充币 1:提币 2:转账 3:扣除点卡 4:购买激活码 5:推荐奖 6.团队奖 7.盈利 8.购买点卡)")
    private Integer type;

    @ApiModelProperty("转账hash(若无则不填)")
    private String txHash;

    @ApiModelProperty("备注")
    private String note;

}
